<script setup>
import { onMounted } from 'vue'

const getList = () => {
    setTimeout(()=>{
        console.log("发送请求");
    }, 2000)
}
getList()

onMounted(()=>{
    console.log("生命周期结束");
})

</script>


<template>

</template>